#-------------------------------------------------
#
# Project created by QtCreator 2016-12-28T08:48:14
#
#-------------------------------------------------

QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = DicomImportor
TEMPLATE = app

DEFINES += HAVE_PROTOTYPE_GETHOSTNAME
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += /MDd

RC_ICONS = Resources/jf.ico
TRANSLATIONS += dicomimportor_cn.ts

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MDd\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib

SOURCES += main.cpp\
        dicomimportor.cpp \
    importthread.cpp

HEADERS  += dicomimportor.h \
    importthread.h

FORMS    += dicomimportor.ui
